package com.bussiness.system.dao;

import com.bussiness.system.model.MyUserEntity;
import com.common.util.mypage.Pages;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MyUserDao {
    int deleteByPrimaryKey(Integer id);

    int insert(MyUserEntity record);

    int insertSelective(MyUserEntity record);

    MyUserEntity selectByPrimaryKey(Integer id);

    List<MyUserEntity> pageUser(Pages page);

    List<MyUserEntity> listUser();

    int updateByPrimaryKeySelective(MyUserEntity record);

    int updateByPrimaryKey(MyUserEntity record);
}